package com.designed.pattern.structural.decorate;

/**
 * @author yifei
 * @date 2024/3/28
 **/
public class Person implements ICharacter {

    String name;

    public Person(String name) {
        this.name = name;
    }

    @Override
    public void show() {
        System.out.println(" 装饰的" + name);
    }
}
